<?php
require_once("Database.class.php");
require_once("Database.object.class.php");


class Admin_notifications extends Database_object 
    {
     protected static $table_name="admin_notifications";
	   protected static $db_fields = array('ID' , 'notification' , 'send_to' , 'send_to_all' , 'notification_link' , 'seen' );
     protected $ID;
     protected $notification;
     protected $send_to;
     protected $notification_link;
     protected $seen;
	 
   public function set_id($ID)
   {
     $this->ID = $ID;
   }

   public function get_id()
   {
     return $this->ID;
   }

  public function set_notification($notification)
  {
    $this->notification = $notification;
  }

  public function get_notification()
  {
    return $this->notification;
  }
	 
  public function set_send_to($ID)
  {
    $this->send_to= $ID;
  }

  public function get_send_to()
  {
    return $this->send_to;
  }
	
  public function set_notification_link($link)
  {
    $this->notification_link = $link;
  }

  public function get_notification_link()
  {
    return $this->notification_link;
  }

  public function set_seen($seen)
  {
    $this->seen = $seen;
  }

  public function get_seen()
  {
    return $this->seen;
  }
	 
}
?>